import service from ".";
const homeworkApi = {
    //获取作业
    getHomeworkQuestion(id) {
        return service.post('api/homework_client/gethomeworkquestion', {id: id});
    },
    //提交作业
    submitHomework(homework,groupId) {
        return service.post('api/homework_client/commithomework', {homework,groupId});
    }
}
export default homeworkApi;